{
  "mixins": [ "components/slider/use-slider" ],

  "meta": {
    "docsUrl": "https://v2.quasar.dev/vue-components/range"
  },

  "props": {
    "model-value": {
      "extends": "model-value",
      "type": [ "Object", "null", "undefined" ],
      "desc": "Model of the component of type { min, max } (both values must be between global min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
      "definition": {
        "min": {
          "type": [ "Number", "null" ],
          "desc": "Model value for left thumb"
        },
        "max": {
          "type": [ "Number", "null" ],
          "desc": "Model value for right thumb"
        }
      },
      "examples": [ "v-model=\"positionModel\"" ]
    },

    "drag-range": {
      "type": "Boolean",
      "desc": "User can drag range instead of just the two thumbs",
      "category": "content"
    },

    "drag-only-range": {
      "type": "Boolean",
      "desc": "User can drag only the range instead and NOT the two thumbs",
      "category": "content"
    },

    "left-label-color": {
      "extends": "color",
      "desc": "Color name for left label background from the Quasar Color Palette",
      "category": "labels"
    },

    "left-label-text-color": {
      "extends": "color",
      "desc": "Color name for left label text from the Quasar Color Palette",
      "category": "labels"
    },

    "right-label-color": {
      "extends": "color",
      "desc": "Color name for right label background from the Quasar Color Palette",
      "category": "labels"
    },

    "right-label-text-color": {
      "extends": "color",
      "desc": "Color name for right label text from the Quasar Color Palette",
      "category": "labels"
    },

    "left-label-value": {
      "type": [ "String", "Number" ],
      "desc": "Override default label for min value",
      "examples": [
        ":left-label-value=\"model.min + 'px'\""
      ],
      "category": "labels"
    },

    "right-label-value": {
      "type": [ "String", "Number" ],
      "desc": "Override default label for max value",
      "examples": [
        ":right-label-value=\"model.max + 'px'\""
      ],
      "category": "labels"
    },

    "left-thumb-color": {
      "extends": "color",
      "desc": "Color name (from the Quasar Color Palette) for left thumb",
      "category": "labels",
      "addedIn": "v2.4"
    },

    "right-thumb-color": {
      "extends": "color",
      "desc": "Color name (from the Quasar Color Palette) for right thumb",
      "category": "labels",
      "addedIn": "v2.4"
    }
  },

  "events": {
    "update:model-value": {
      "extends": "update:model-value"
    }
  }
}
